.class public Lcom/estrongs/android/taskmanager/b;
.super Lcom/estrongs/android/taskmanager/ic;


# static fields
.field private static k:J


# instance fields
.field private a:Landroid/view/View;

.field private b:Landroid/view/View;

.field private c:Landroid/view/View;

.field private d:Landroid/view/View;

.field private e:Landroid/view/View;

.field private f:Landroid/view/View;

.field private g:Landroid/widget/ProgressBar;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private j:Landroid/widget/TextView;

.field private l:Landroid/widget/ProgressBar;

.field private m:Landroid/widget/ProgressBar;

.field private n:Landroid/widget/ProgressBar;

.field private o:Landroid/widget/ProgressBar;

.field private p:Landroid/content/IntentFilter;

.field private q:Landroid/content/BroadcastReceiver;

.field private r:Lcom/estrongs/android/taskmanager/h;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    const-wide/16 v0, 0x0

    sput-wide v0, Lcom/estrongs/android/taskmanager/b;->k:J

    return-void
.end method

.method public constructor <init>(Landroid/app/Activity;Landroid/view/ViewGroup;Z)V
    .locals 9

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, p3}, Lcom/estrongs/android/taskmanager/ic;-><init>(Landroid/app/Activity;Landroid/view/ViewGroup;Z)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->c:Landroid/view/View;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->f:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/taskmanager/c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/taskmanager/c;-><init>(Lcom/estrongs/android/taskmanager/b;)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->q:Landroid/content/BroadcastReceiver;

    const v0, 0x7f09000f

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->a:Landroid/view/View;

    const v0, 0x7f090010

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->b:Landroid/view/View;

    const v0, 0x7f090011

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->c:Landroid/view/View;

    const v0, 0x7f090012

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->d:Landroid/view/View;

    const v0, 0x7f090015

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->e:Landroid/view/View;

    const v0, 0x7f090018

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->f:Landroid/view/View;

    const v0, 0x7f090013

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v2

    const v0, 0x7f090016

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v4

    const v0, 0x7f090019

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v6

    const v0, 0x7f090014

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v3

    const v0, 0x7f090017

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v5

    const v0, 0x7f09001a

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v7

    iget-object v8, p0, Lcom/estrongs/android/taskmanager/b;->d:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/taskmanager/d;

    move-object v1, p0

    invoke-direct/range {v0 .. v7}, Lcom/estrongs/android/taskmanager/d;-><init>(Lcom/estrongs/android/taskmanager/b;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;)V

    invoke-virtual {v8, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v8, p0, Lcom/estrongs/android/taskmanager/b;->e:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/taskmanager/e;

    move-object v1, p0

    invoke-direct/range {v0 .. v7}, Lcom/estrongs/android/taskmanager/e;-><init>(Lcom/estrongs/android/taskmanager/b;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;)V

    invoke-virtual {v8, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v8, p0, Lcom/estrongs/android/taskmanager/b;->f:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/taskmanager/f;

    move-object v1, p0

    invoke-direct/range {v0 .. v7}, Lcom/estrongs/android/taskmanager/f;-><init>(Lcom/estrongs/android/taskmanager/b;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;Landroid/view/View;)V

    invoke-virtual {v8, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->p:Landroid/content/IntentFilter;

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->p:Landroid/content/IntentFilter;

    const-string v1, "android.intent.action.BATTERY_CHANGED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const v0, 0x7f090029

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->g:Landroid/widget/ProgressBar;

    const v0, 0x7f09002a

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->h:Landroid/widget/TextView;

    const v0, 0x7f09002b

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->i:Landroid/widget/TextView;

    const v0, 0x7f09002c

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->l:Landroid/widget/ProgressBar;

    const v0, 0x7f09002f

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->m:Landroid/widget/ProgressBar;

    const v0, 0x7f090034

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->n:Landroid/widget/ProgressBar;

    const v0, 0x7f090039

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->o:Landroid/widget/ProgressBar;

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/b;->e()V

    const v0, 0x7f090005

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->j:Landroid/widget/TextView;

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/b;->f()V

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/b;->a()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->h:Landroid/widget/TextView;

    return-object v0
.end method

.method private final a(I)Ljava/lang/String;
    .locals 5

    const-wide v0, 0x3feccccccccccccdL

    int-to-double v2, p1

    mul-double/2addr v0, v2

    const-wide/high16 v2, 0x4014

    div-double/2addr v0, v2

    const-wide/high16 v2, 0x4040

    add-double/2addr v0, v2

    div-int/lit8 v2, p1, 0xa

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "."

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    mul-int/lit8 v2, v2, 0xa

    sub-int v2, p1, v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const v3, 0x7f0700dc

    invoke-virtual {p0, v3}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    new-instance v3, Ljava/text/DecimalFormat;

    const-string v4, "0.0"

    invoke-direct {v3, v4}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v0, v1}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\' F"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/b;I)Ljava/lang/String;
    .locals 1

    invoke-direct {p0, p1}, Lcom/estrongs/android/taskmanager/b;->a(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic b(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->g:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic b(J)V
    .locals 0

    sput-wide p0, Lcom/estrongs/android/taskmanager/b;->k:J

    return-void
.end method

.method static synthetic c(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->i:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic d()J
    .locals 2

    sget-wide v0, Lcom/estrongs/android/taskmanager/b;->k:J

    return-wide v0
.end method

.method static synthetic d(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->l:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic e(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->n:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method private e()V
    .locals 2

    new-instance v0, Lcom/estrongs/android/taskmanager/h;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/taskmanager/h;-><init>(Lcom/estrongs/android/taskmanager/b;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/b;->r:Lcom/estrongs/android/taskmanager/h;

    return-void
.end method

.method static synthetic f(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->o:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method private f()V
    .locals 6

    const/16 v3, 0xf

    const/4 v5, 0x0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    const-string v1, "phone"

    invoke-virtual {v0, v1}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    invoke-virtual {v0}, Landroid/telephony/TelephonyManager;->getDeviceId()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_1

    :try_start_0
    const-string v1, "  "

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    if-ne v2, v3, :cond_0

    new-instance v2, Ljava/lang/StringBuilder;

    const/4 v3, 0x0

    const/4 v4, 0x6

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const/4 v3, 0x6

    const/16 v4, 0x8

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const/16 v3, 0x8

    const/16 v4, 0xe

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/16 v2, 0xe

    const/16 v3, 0xf

    invoke-virtual {v0, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    iget-object v1, p0, Lcom/estrongs/android/taskmanager/b;->j:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    const v0, 0x7f090004

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f09001b

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f09001c

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    sget-object v1, Landroid/os/Build;->DISPLAY:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f09001e

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/b;->g()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v1, Landroid/util/DisplayMetrics;

    invoke-direct {v1}, Landroid/util/DisplayMetrics;-><init>()V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    const v0, 0x7f090007

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    iget v3, v1, Landroid/util/DisplayMetrics;->widthPixels:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, " x "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, v1, Landroid/util/DisplayMetrics;->heightPixels:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f090008

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    iget v1, v1, Landroid/util/DisplayMetrics;->densityDpi:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, " Dpi"

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Lcom/estrongs/android/taskmanager/g;

    invoke-direct {v0, p0}, Lcom/estrongs/android/taskmanager/g;-><init>(Lcom/estrongs/android/taskmanager/b;)V

    new-array v1, v5, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/g;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    return-void

    :cond_0
    :try_start_1
    new-instance v2, Ljava/lang/StringBuilder;

    const/4 v3, 0x0

    const/4 v4, 0x6

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const/4 v3, 0x6

    const/16 v4, 0x8

    invoke-virtual {v0, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/16 v2, 0x8

    const/16 v3, 0xe

    invoke-virtual {v0, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v0

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->j:Landroid/widget/TextView;

    const v1, 0x7f070003

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto/16 :goto_1

    :catch_0
    move-exception v1

    goto/16 :goto_0
.end method

.method static synthetic g(Lcom/estrongs/android/taskmanager/b;)Landroid/widget/ProgressBar;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->m:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method private g()Ljava/lang/String;
    .locals 4

    const/4 v3, 0x4

    :try_start_0
    new-instance v0, Ljava/io/BufferedReader;

    new-instance v1, Ljava/io/FileReader;

    const-string v2, "/proc/version"

    invoke-direct {v1, v2}, Ljava/io/FileReader;-><init>(Ljava/lang/String;)V

    const/16 v2, 0x100

    invoke-direct {v0, v1, v2}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;I)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    invoke-virtual {v0}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-result-object v1

    :try_start_2
    invoke-virtual {v0}, Ljava/io/BufferedReader;->close()V

    const-string v0, "\\w+\\s+\\w+\\s+([^\\s]+)\\s+\\(([^\\s@]+(?:@[^\\s.]+)?)[^)]*\\)\\s+\\((?:[^(]*\\([^)]*\\))?[^)]*\\)\\s+([^\\s]+)\\s+(?:PREEMPT\\s+)?(.+)"

    const-string v0, "\\w+\\s+\\w+\\s+([^\\s]+)\\s+\\(([^\\s@]+(?:@[^\\s.]+)?)[^)]*\\)\\s+\\((?:[^(]*\\([^)]*\\))?[^)]*\\)\\s+([^\\s]+)\\s+(?:PREEMPT\\s+)?(.+)"

    invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z

    move-result v2

    if-nez v2, :cond_0

    const-string v0, "AboutPhoneMainWrapper"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "Regex did not match on /proc/version: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0

    const-string v0, "Unavailable"

    :goto_0
    return-object v0

    :catchall_0
    move-exception v1

    :try_start_3
    invoke-virtual {v0}, Ljava/io/BufferedReader;->close()V

    throw v1
    :try_end_3
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_0

    :catch_0
    move-exception v0

    const-string v1, "AboutPhoneMainWrapper"

    const-string v2, "IO Exception when getting kernel version for Device Info screen"

    invoke-static {v1, v2, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    const-string v0, "-"

    goto :goto_0

    :cond_0
    :try_start_4
    invoke-virtual {v0}, Ljava/util/regex/Matcher;->groupCount()I

    move-result v1

    if-ge v1, v3, :cond_1

    const-string v1, "AboutPhoneMainWrapper"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "Regex match on /proc/version only returned "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/util/regex/Matcher;->groupCount()I

    move-result v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, " groups"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_0

    const-string v0, "-"

    goto :goto_0

    :cond_1
    :try_start_5
    new-instance v1, Ljava/lang/StringBuilder;

    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\n"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/4 v2, 0x2

    invoke-virtual {v0, v2}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/4 v2, 0x3

    invoke-virtual {v0, v2}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\n"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const/4 v2, 0x4

    invoke-virtual {v0, v2}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_0

    move-result-object v0

    goto :goto_0
.end method

.method static synthetic h(Lcom/estrongs/android/taskmanager/b;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->a:Landroid/view/View;

    return-object v0
.end method

.method static synthetic i(Lcom/estrongs/android/taskmanager/b;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->b:Landroid/view/View;

    return-object v0
.end method

.method static synthetic j(Lcom/estrongs/android/taskmanager/b;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->c:Landroid/view/View;

    return-object v0
.end method


# virtual methods
.method protected a()V
    .locals 5

    const v4, 0x7f09000c

    const v3, 0x7f09000b

    const v2, 0x7f070062

    const v1, 0x7f070060

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/cz;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0, v3}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/cz;->b(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0, v4}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(I)V

    :goto_1
    return-void

    :cond_0
    invoke-virtual {p0, v3}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    :cond_1
    invoke-virtual {p0, v4}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_1
.end method

.method public a(J)V
    .locals 9

    const-wide/16 v7, 0x400

    const v0, 0x7f09002e

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0700ea

    invoke-virtual {p0, v1}, Lcom/estrongs/android/taskmanager/b;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    mul-long v5, p1, v7

    mul-long/2addr v5, v7

    invoke-static {v4, v5, v6}, Landroid/text/format/Formatter;->formatFileSize(Landroid/content/Context;J)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, Ljava/text/MessageFormat;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->l:Landroid/widget/ProgressBar;

    sget-wide v1, Lcom/estrongs/android/taskmanager/b;->k:J

    mul-long v3, p1, v7

    mul-long/2addr v3, v7

    sub-long/2addr v1, v3

    long-to-int v1, v1

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setProgress(I)V

    return-void
.end method

.method public a(Landroid/view/View$OnTouchListener;)V
    .locals 1

    const v0, 0x7f09000e

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/b;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method public b()V
    .locals 3

    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/b;->q:Landroid/content/BroadcastReceiver;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/b;->p:Landroid/content/IntentFilter;

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    :try_start_1
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->r:Lcom/estrongs/android/taskmanager/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->r:Lcom/estrongs/android/taskmanager/h;

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/h;->a()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :cond_0
    :goto_1
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1
.end method

.method public c()V
    .locals 2

    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->mActivity:Landroid/app/Activity;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/b;->q:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/app/Activity;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    :try_start_1
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->r:Lcom/estrongs/android/taskmanager/h;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/b;->r:Lcom/estrongs/android/taskmanager/h;

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/h;->b()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :cond_0
    :goto_1
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1
.end method

.method protected getViewResId()I
    .locals 1

    const v0, 0x7f030002

    return v0
.end method
